package com.speech.utils;

import java.text.DecimalFormat;

public class StringFomatUtil {

    public static String formatDouble(Double d) {
        if (d == null) {
            return "0.00";
        }
        return new DecimalFormat("0.00").format(d);
    }

}
